package org.jboss.soa.tareas.clientsample;

import org.jboss.soa.tareas.*;

public class ClientSample {

	public static void main(String[] args) {
	        System.out.println("***********************");
	        System.out.println("Create Web Service Client...");
	        ObtieneTareasDeRolService service1 = new ObtieneTareasDeRolService();
	        System.out.println("Create Web Service...");
	        ObtieneTareasDeRolPortType port1 = service1.getObtieneTareasDeRolPortType();
	        System.out.println("Call Web Service Operation...");
	        try {
				System.out.println("Server said: " + port1.obtieneTareasDeRolOp(null));
			} catch (ObtieneTareasDeRolFault1 e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("***********************");
	        System.out.println("Call Over!");
	}
}
